package com.lhgg.examol.util;

import org.springframework.test.AbstractTransactionalDataSourceSpringContextTests;
/**
 * 所有针对service的测试类都继承该类
 * @author Administrator
 *
 */
public abstract class BaseServiceTest extends
		AbstractTransactionalDataSourceSpringContextTests {
	@Override
	public String[] getConfigLocations() {
		String[] config = new String[] { "applicationContext.xml",
				"com/lhgg/examol/*/config/*-applicationContext.xml" };
		return config;
	}

	public void testConfig() {
		assertNotNull("spring-mock has bean init()", this.applicationContext);
	}

}
